home *** CD-ROM | disk | FTP | other *** search
/ 1000 Apple LAN Literacy / 1000 Apple LAN Literacy.iso / Apple LAN Literacy / Literacy Segments Part 3 / Literacy Segments Part 3 / card_61695.txt < prev    next >
Text File  |  1989-08-22  |  1KB  |  61 lines

  1. -- card: 61695 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 61776
  5. -- name: Routing Facilities E/1
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global btnStatus
  9.   get line 1 of btnStatus
  10.   -- the line number should be tailored for each menu
  11.   repeat with i = 1 to 2
  12.     -- tailor to number of menu items on given menu
  13.     if item i of it is not empty
  14.     then set the icon of bg btn ("#" & i) to (4240 + i)
  15.   else set the icon of bg btn ("#" & i) to (4230 + i)
  16. end repeat
  17. pass openCard
  18. end openCard
  19.  
  20.  
  21. -- part 2 (button)
  22. -- low flags: 00
  23. -- high flags: 0000
  24. -- rect: left=482 top=294 right=320 bottom=509
  25. -- title width / last selected line: 0
  26. -- icon id / first selected line: 1235 / 1235
  27. -- text alignment: 1
  28. -- font id: 0
  29. -- text size: 12
  30. -- style flags: 0
  31. -- line height: 16
  32. -- part name: Last Menu
  33.  
  34.  
  35. -- part contents for background part 10
  36. ----- text -----
  37. Example
  38.  
  39. -- part contents for background part 22
  40. ----- text -----
  41. There are two Examples for this segment.
  42.  
  43. -- part contents for background part 24
  44. ----- text -----
  45. Example 1:  Growth Leads to Routing
  46.  
  47. -- part contents for background part 23
  48. ----- text -----
  49. Click a choice.
  50.  
  51. -- part contents for background part 18
  52. ----- text -----
  53. 61695
  54.  
  55. -- part contents for background part 3
  56. ----- text -----
  57. Routing Facilities
  58.  
  59. -- part contents for background part 43
  60. ----- text -----
  61. Example 2:  Routing as Seen Through the Chooser